_tttt_iiii_mmmm_eeee_rrrr______cccc_rrrr_eeee_aaaa_tttt_eeee creates an interval timer for the calling process based on
the clock named by _c_l_o_c_k__i_d. The new timer ID is recorded at the memory
address _t_i_m_e_r_i_d, and is unique for the calling process until the timer is
deleted. A process may create up to {_TTTT_IIII_MMMM_EEEE_RRRR______MMMM_AAAA_XXXX} POSIX timers [see
_ssss_yyyy_ssss_cccc_oooo_nnnn_ffff(3C)].
Supported clocks for _c_l_o_c_k__i_d are:
_CCCC_LLLL_OOOO_CCCC_KKKK______RRRR_EEEE_AAAA_LLLL_TTTT_IIII_MMMM_EEEE The system's notion of the current time is obtained with
this clock. The time is expressed in seconds and
nanoseconds since midnight (00:00) Coordinated Universal
Time (UTC), January 1, 1970. The resolution for of this
clock is never worse than 100 HZ (which equals 10
milliseconds). The actual resolution of the clock depends
on the timer capability of the underlying hardware (see
timers(5)).
_CCCC_LLLL_OOOO_CCCC_KKKK______SSSS_GGGG_IIII______FFFF_AAAA_SSSS_TTTT This clock has a higher resolution than _CCCC_LLLL_OOOO_CCCC_KKKK______RRRR_EEEE_AAAA_LLLL_TTTT_IIII_MMMM_EEEE and
is available to privileged users only. This clock is SGI
specific and is not portable.
The resolution of the clocks can be obtained by calling the _cccc_llll_oooo_cccc_kkkk______gggg_eeee_tttt_rrrr_eeee_ssss
function.
The timer created can be started by calling the function _tttt_iiii_mmmm_eeee_rrrr______ssss_eeee_tttt_tttt_iiii_mmmm_eeee.
If the value of _e_v_p is non-NULL, then a notification specified in the _e_v_p
sigevent structure is sent to the process.
If the _ssss_iiii_gggg_eeee_vvvv______nnnn_oooo_tttt_iiii_ffff_yyyy member of _e_v_p is SIGEV_SIGNAL then the specified
signal in the _ssss_iiii_gggg_eeee_vvvv______ssss_iiii_gggg_nnnn_oooo member of _e_v_p is sent to the process and if the
value is SIGEV_NONE no signal is sent upon timer expiration.
If the _ssss_iiii_gggg_eeee_vvvv______nnnn_oooo_tttt_iiii_ffff_yyyy member of _e_v_p is SIGEV_THREAD then the function
_ssss_iiii_gggg_eeee_vvvv______nnnn_oooo_tttt_iiii_ffff_yyyy______ffff_uuuu_nnnn_cccc_tttt_iiii_oooo_nnnn will be called by a new thread (see pthreads(5))
with _ssss_iiii_gggg_eeee_vvvv______vvvv_aaaa_llll_uuuu_eeee as the argument. This thread is created when the event
arrives with the attributes specified in _ssss_iiii_gggg_eeee_vvvv______nnnn_oooo_tttt_iiii_ffff_yyyy______aaaa_tttt_tttt_rrrr_iiii_bbbb_uuuu_tttt_eeee_ssss except
that it is automatically detached. The calling process should ensure
there are sufficient resources to create the thread.